package com.water.bs.service;

import com.water.bs.mapper.RankMapper;
import com.water.bs.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RankService {
    @Autowired
    private RankMapper rankMapper;

    public List<User> userRank(){return rankMapper.userRank();};

    public List<Map<String,Object>> changeRank(){return rankMapper.changeRank();}

}
